import request from '@/utils/request'
/**
 * 获取照片墙分类
 */
export function GETPHOTOCATEGORY(){
    return request({
      url:'/photowalls/getPhotoCategory',
      method:'GET'
    })
}

/**
 * 获取照片推荐
 */
export function CONTENTRECOMMEND(current,size){
  return request({
    url:`photowalls/getRecommendPhoto?size=${size}&page=${current}`,
    method:'GET'
  })
}

/**
 * 获取照片类别获取
 */
export function GETPHOTO_BY_CATEGORY(current,size,categoryId){
  return request({
    url:`photowalls/getPhoto?categoryId=${categoryId}&size=${size}&page=${current}`,
    method:'GET'
  })
}

/**
 * 获取照片墙详情
 */
export function GET_PHOTODETAIL(id){
  return request({
    url:`photowalls/getPhotoDetail?photoWallId=${id}`,
    method:'GET'
  })
}